home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_6240.txt < prev    next >
Text File  |  1994-03-01  |  677b  |  15 lines

  1. 10 MODE8:DIM:GOSUB500:c$=CHR$(5):n=1:m=1:x=0:DEFCHR$(254)="3E02040830":DEFCHR$(252)="123E020000":DEFCHR$(253)="2E2A3A0000"
  2. 20 CLS:PRINT"Upper probability   F(x,“Æ,“’)";
  3. 30 z=n:s$="“Æ":GOSUB400:n=z:IFn=<0 ORFRACn<>0 THEN30
  4. 40 z=m:s$="“’":GOSUB400:m=z:IFm=<0 ORFRACm<>0 THEN40
  5. 50 z=x:s$="x":GOSUB400:x=z
  6. 60 LOCATE0,1:PRINTc$;".....";
  7. 70 sr=0:GOSUB"LIB0:S6240":GOSUB500:IFsr THEN*
  8. 75 IFp THENp=ROUND(p,LOG(ABSp)-6)
  9. 80 PRINTc$;"p=";p;:z$=INPUT$(1,@):GOTO30
  10. 400 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@10;z:LOCATE0,0:RETURN
  11. 500 ONERRORGOTO510:RETURN
  12. 510 IFERR=1 THENCLS:ONERRORGOTO0
  13. 520 IFERL=400 THENRESUME400
  14. 530 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME20
  15.